#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>
#include "Solution.h"

int main()
{
	vector<int> v1({ 1,2,2,1 }), v2({ 2,2 });
	Solution s;
	vector<int> ret0 = s.intersection0(v1, v2);
	vector<int> ret1 = s.intersection1(v1,v2);
	vector<int> ret2 = s.intersection2(v1, v2);
	for (auto& e : ret0)
	{
		cout << e << ' ';
	}
	cout << endl;
	for (auto& e : ret1)
	{
		cout << e << ' ';
	}
	cout << endl;
	for (auto& e : ret2)
	{
		cout << e << ' ';
	}
	cout << endl;

	return 0;
}